<?php

namespace App\Http\Controllers;

use App\Model\Article;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;

class ArticleController extends Controller
{
    public function articles(){
        $articles = DB::table('article')->get();
        print_r($articles);
    }
}
